<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
		    <table id="subject_infodg">
		        <thead>
		            <tr>
		                <th data-options="field:'id',checkbox:true">ID</th>
		                <th data-options="field:'subject',title:'学科名称',width:50,editor:{
		                    type:'textbox',
		                    options:{
		                        required:true,
		                    }
		                }"></th>
		            </tr>
		        </thead>
		    </table>
		</div>
	</div>
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
    <script type="text/javascript">
        $(function(){
            var url = basePath + "/sys/subject";
            initDatagridAdmin("subject_info",url,1,1,1,1,0);
        })
    </script>
</body>
</html>